﻿namespace MicroCloud.Systems.Extensions
{
    public static class DictExtension
    {
        public static IServiceCollection AddDict(this IServiceCollection services)
        {
            services.AddSingleton<IMapTuple, DictAutoMapperConfiguration>();
            services.AddScoped<IDictService, DictService>();

            return services;
        }

        public static void UseDict(this IApplicationBuilder app)
        {
            return;
        }
    }
}
